Optimal. Leaf size=87 \[ \frac {i e^{i a} x \left (-i b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-i b x^n\right )}{2 n}-\frac {i e^{-i a} x \left (i b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},i b x^n\right )}{2 n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3446, 2239}
\begin {gather*} \frac {i e^{i a} x \left (-i b x^n\right )^{-1/n} \text {Gamma}\left (\frac {1}{n},-i b x^n\right )}{2 n}-\frac {i e^{-i a} x \left (i b x^n\right )^{-1/n} \text {Gamma}\left (\frac {1}{n},i b x^n\right )}{2 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2239
Rule 3446
Rubi steps
\begin {align*} \int \sin \left (a+b x^n\right ) \, dx &=\frac {1}{2} i \int e^{-i a-i b x^n} \, dx-\frac {1}{2} i \int e^{i a+i b x^n} \, dx\\ &=\frac {i e^{i a} x \left (-i b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-i b x^n\right )}{2 n}-\frac {i e^{-i a} x \left (i b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},i b x^n\right )}{2 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 95, normalized size = 1.09 \begin {gather*} \frac {i x \left (b^2 x^{2 n}\right )^{-1/n} \left (-\left (-i b x^n\right )^{\frac {1}{n}} \Gamma \left (\frac {1}{n},i b x^n\right ) (\cos (a)-i \sin (a))+\left (i b x^n\right )^{\frac {1}{n}} \Gamma \left (\frac {1}{n},-i b x^n\right ) (\cos (a)+i \sin (a))\right )}{2 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
4.
time = 0.07, size = 74, normalized size = 0.85
method | result | size |
meijerg | \(x \hypergeom \left (\left [\frac {1}{2 n}\right ], \left [\frac {1}{2}, 1+\frac {1}{2 n}\right ], -\frac {x^{2 n} b^{2}}{4}\right ) \sin \left (a \right )+\frac {b \,x^{1+n} \hypergeom \left (\left [\frac {1}{2}+\frac {1}{2 n}\right ], \left [\frac {3}{2}, \frac {3}{2}+\frac {1}{2 n}\right ], -\frac {x^{2 n} b^{2}}{4}\right ) \cos \left (a \right )}{1+n}\) | \(74\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sin {\left (a + b x^{n} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \sin \left (a+b\,x^n\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________